package com.aaa.hospital.ManagementEnd.service;


import com.aaa.hospital.ManagementEnd.pojo.Registration2;
import com.aaa.hospital.ManagementEnd.util.RegistrationDB;

import java.util.Date;
import java.util.List;

public interface RegistrationServices {

    List<RegistrationDB> queryAll(Integer did);
    RegistrationDB  selectById(Integer id);
    List<RegistrationDB>  limitAll( Integer did,Integer uid, String uname);






    ////////////////////////////////////////////////////////////////////////////////////
//正常预约表查询
    Integer regById(Integer id);
   boolean upstate(Integer id);
    boolean update_state(Integer id,Integer state);



    //查询当天是否预约过挂号
    List<Registration2> queryBySize(int visid, Date visitdate);


}
